package com.example.hetong_system.repository;

import com.example.hetong_system.model.SystemAdmin;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface SystemAdminRepository extends JpaRepository<SystemAdmin, Long> {
    Optional<SystemAdmin> findByUsernameAndPassword(String username, String password);
}